package com.az.miaoapi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @author zj
 * @time 2024/9/25 15:35
 */
@FeignClient(name = "pay-service")
public interface PayClient {
    @GetMapping("/pay/process-payment")
    Boolean processPayment(@RequestParam("orderId") BigDecimal orderId);
}